package ru.ssau.customerManagement.controller.remoting;

import java.io.Serializable;

/**
 * Created by illabefat on 22.11.14.
 */
public class OperationRequest implements Serializable{
    private static final long serialVersionUID = -4692734931278562178L;

    private final String methodName;
    private final Object[] args;

    public OperationRequest(String methodName, Object ... args) {
        this.methodName = methodName;
        this.args = args;
    }

    public Object[] getArgs() {
        return args;
    }

    public String getMethodName() {
        return methodName;
    }
}
